package org.codeart.factory.scheme02.factory;

import org.codeart.factory.scheme02.controller.DeliverController;
import org.codeart.factory.scheme02.pojo.AwardInfo;
import org.codeart.factory.scheme02.pojo.ResponseInfo;

public class Client {

    // 测试发放奖品
    public static void main(String[] args) {
        DeliverController deliverController = new DeliverController();
        AwardInfo info = new AwardInfo();
        info.setUid("luobida").setAwardNumber("G15456").setAwardType(1);
        ResponseInfo responseInfo = deliverController.deliverAward(info);
        System.out.println(responseInfo);
    }

}
